//MMU

#ifndef __MMU_H__
#define __MMU_H__

extern int __end;
#define KERN_END ((unsigned long)&__end)

long *l1_address;

//initialzie the mmu
void init_mmu();

// manipulate L1 table entries
void map_memory(unsigned long *physicalAddress,unsigned  long *virtualAddress, long number_of_1mb_blocks);

//0 fault, 1 coarse, 2 section, 3 fine
void set_section_status(unsigned long *virtualAddress, int status, long number_of_1mb_blocks);

#endif
